Skip to content

Conversation

@lunaleaps
Copy link
Contributor

@lunaleaps lunaleaps commented Oct 11, 2025

Add VirtualColumn and VirtualRow docs
See VirtualColumn docs

See VirtualRow docs

@netlify
Copy link

netlify bot commented Oct 11, 2025

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit c162d6b
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/68ed296d6e1393000830bd6f
😎 Deploy Preview https://deploy-preview-4845--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lunaleaps lunaleaps requested a review from yungsters October 13, 2025 16:08

### Item Rendering

`VirtualColumn` expects an immutable `VirtualCollection` of items and an `itemsToKey` function.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`VirtualColumn` expects an immutable `VirtualCollection` of items and an `itemsToKey` function.
`VirtualColumn` expects an immutable `VirtualCollection` of items and an `itemToKey` function.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doc sometimes uses both itemsToKey and itemToKey, I assume that only one is correct.


`VirtualColumn` expects an immutable `VirtualCollection` of items and an `itemsToKey` function.

When `VirtualColumn` renders an item, it calls the `children` render function once and memoizes the result. If an item changes, a new item should be provided with the same key. Items with identical keys, as returned by `itemsToKey`, will update the same React element.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto: itemToKey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants